package com.kuang.springclound.dao;

import com.kuang.springclound.pojo.SystemDept;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface DeptDao {

    boolean addDept(SystemDept dept);

    SystemDept queryById(Long id);

    List<SystemDept> queryAll();

}
